package org.nanfang.Yield.SetPriority;

public class SetPriority extends Thread{
    public SetPriority(){

    }
    public SetPriority(String name){
        super(name);
    }
    @Override
    public void run() {
        for (int i =0 ; i<100 ;i++){

            System.out.println(Thread.currentThread().getName()+"线程"+i);
        }
    }
}
